#pragma once

#include <QWidget>

class RenderArea : public QWidget
{
	Q_OBJECT

public:
	RenderArea(QWidget *parent = 0);

public slots:
	void setScale(float s);
	void setValue(float v, bool gray = false);

protected:
	void paintEvent(QPaintEvent *event);

	float _v;
	float _s;
	bool _gray;
};
